package com.killer.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.killer.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 后台用户登录记录表
 * </p>
 *
 * @author killer
 * @since 2021-08-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_login_log")
@ApiModel(value="LoginLog对象", description="后台用户登录记录表")
public class LoginLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "登录名称")
    @TableField("login_name")
    private String loginName;

    @ApiModelProperty(value = "登录id")
    @TableField("ip")
    private String ip;

    @ApiModelProperty(value = "浏览器名称")
    @TableField("browser_name")
    private String browserName;

    @ApiModelProperty(value = "地区")
    @TableField("location")
    private String location;

    @ApiModelProperty(value = "登录时间")
    @TableField("login_time")
    private Date loginTime;


}
